﻿--[[
   @brief    msg_box_frame_model
   @author   hqzheng
   @version  1.0
   @date     2017-02-20
--]]

msg_box_frame_model = 
{
    is_already_exist = false;

    is_im_inited_ = false;

    -- server通知类型 
    MSG_MSGBOX_SYSTEM = 100001; -- 系统消息
    MSG_MSGBOX_PERSON = 100002; -- 普通消息
    -- 上传消息的cgi接口对应的url
    upload_msg_url = LoadStr("UPLOAD_MSG_URL");
    -- 获取未读消息数对应的url
    get_unread_msg_count_url = LoadStr("GET_UNREAD_MSG_URL");

    unread_msg_count = 0;

    cookie_info = {};

    has_get_unread_msg_count = false;
    self_tgp_id = nil;
};



